<template>
	<view>
		<view class="date-group">
			<view class="date-title">今天</view>
			<view class="history">
				<image src="../../../static/imgs/huoche.png" class="icon"></image>
				<view class="info">
					<view class="start-end">
						成都 ---- 上海   火车票
					</view>
					<view class="info-date">02/06出发</view>
					<view class="info-type">经济舱</view>
				</view>
			</view>
			<view class="history">
				<image src="../../../static/imgs/feiji.png" class="icon"></image>
				<view class="info">
					<view class="start-end">
						成都 ---- 上海   机票
					</view>
					<view class="info-date">02/06出发</view>
					<view class="info-type">经济舱</view>
				</view>
			</view>
		</view>
		<view class="date-group">
			<view class="date-title">昨天</view>
			<view class="history">
				<image src="../../../static/imgs/feiji.png" class="icon"></image>
				<view class="info">
					<view class="start-end">
						成都 ---- 上海   机票
					</view>
					<view class="info-date">02/06出发</view>
					<view class="info-type">经济舱</view>
				</view>
			</view>
			<view class="history">
				<image src="../../../static/imgs/huoche.png" class="icon"></image>
				<view class="info">
					<view class="start-end">
						成都 ---- 上海   火车票
					</view>
					<view class="info-date">02/06出发</view>
					<view class="info-type">经济舱</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.date-group {
		
		.date-title {
			background-color: #F2F2F7;
			padding: 10rpx 40rpx;
		}
		
		.history {
			background-color: #FFFFFF;
			padding: 20rpx 40rpx;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			
			.icon {
				width: 80rpx;
				height: 80rpx;
			}
			
			.info {
				display: flex;
				align-items: flex-start;
				justify-content: space-between;
				flex-direction: column;
				margin-left: 20rpx;
				
				.start-end {
					font-size: 32rpx;
					font-weight: 400;
					color: #333333;
					margin-bottom: 10rpx;
				}
				
				.info-date {
					font-size: 26rpx;
					font-weight: 400;
					color: #999999;
					margin-bottom: 10rpx;
				}
				.info-type {
					font-size: 26rpx;
					font-weight: 400;
					color: #999999;
					margin-bottom: 10rpx;
				}
			}
		}
	}
</style>
